<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('score/index')}">积分管理</a></li>
			<li><a href="{:url('score/add')}">积分添加</a></li>
		</ul>

		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>积分数量</th>

					<th width="140">{:lang('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>

				<foreach name="score" item="vo">
				<tr>
					<td>{$key+1}</td>
					<td>{$vo.score}</td>

					<td>

							<a class="btn btn-xs btn-primary" href='{:url("score/edit",array("id"=>$vo["id"]))}'>{:lang('EDIT')}</a>
							<a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('score/delete',array('id'=>$vo['id']))}">{:lang('DELETE')}</a>

					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>